@import './recover.scss';

#collaboration-body {
  margin: 0;

  b {
    font-weight: bold;
  }

  .color-primary {
    color: $primary-color;
    color: var(--theme-brand6,$primary-color);
  }

  .color-green {
    color: #009899;
  }

  .cursor-pointer {
    cursor: pointer;

    &:hover {
      color: $primary-color;
    }
  }

  .relative {
    position: relative;
  }

  .disabled {
    color: $c9;
    pointer-events: none;
  }

  .primary-link-btn {
    font-size: 12px;
    font-weight: normal;
    color: $primary-color;
    cursor: pointer;
  }

  .text-ellipsis {
    @include ellipsis;
  }

  .color-gray {
    color: $gray;
  }

  .color-danger {
    color: $danger;
  }

  //附言、处理意见共用
  .comment-component {
    width: $comment-width + px;
    margin: 20px auto 0;
    background-color: #fff;
    // border: $border;

    .ant-list-header {
      padding: 0;
      border: 0;
    }

    .comment-header {
      display: flex;
      padding: 10px 20px;
      // margin-bottom: 20px;
      font-weight: bold;
      color: $c3;
      background-color: rgba(215, 221, 227, 0.1);
      border-top: 3px solid;
      justify-content: space-between;
    }

    &.opinion {
      .comment-header {
        border-color: #1f85ec;
      }
    }

    &.postscript {
      .comment-header {
        border-color: #e8a849;
      }
    }
    // 意见、附言列表不展示空的占位
    .ant-list-empty-text {
      height: 24px;
      overflow: hidden;
    }
  }
  // 最顶层loading用
  .ant-spin-nested-loading {
    &.layout-loading {
      > .ant-spin-container {
        height: 100%;
      }
    }
  }

  .ant-modal-confirm {
    //确认框不展示底部按钮
    &.hide-footer {
      .ant-modal-confirm-btns {
        display: none;
      }
    }
    //挡住它本身的关闭
    &.hide-self-close {
      .ant-modal-content {
        &::after {
          @include equalWH(20, false);

          position: absolute;
          top: 50px;
          right: 45px;
          display: block;
          background-color: #f9f9f9;
          content: '';
        }
      }

      .ant-modal-confirm-content {
        > iframe {
          width: 100%;
        }
      }
    }
  }

  .ant-modal-root {
    //iframe居中
    .ant-modal-body {
      > div[fiber-id] {
        display: flex;
        justify-content: center;

        .ant-select {
          margin-left: 100px;
        }
      }

      .ant-radio-group {
        margin-top: 4px;
      }

      .setting-content {
        // margin: 20px;

        .sy-choose-persons1 {
          color: #8a8a8a;
        }

        // .ant-input {
        //   // padding: 0;
        //   font-size: 12px;
        // }

        .ant-select {
          width: 100px;
          margin: 0 10px;
        }
      }
    }
  }

  // 人名那里
  .author-base-info {
    margin-right: 10px;
    color: $primary-color;
    cursor: pointer;
  }

  // 新建CAP4协同发送需要选分支页面，页面下方显示多余空白  修复
  div.layui-layer .layui-layer-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    // > div.display_inline-block {
    //     display: none;
    // }
  }

  .ant-dropdown-menu-item {
    .syIcon {
      margin-right: 5px;
    }
  }

  // 标题
  .header-write-input-process {
    .ant-select-selection {
      border: none;
      // border: 1px solid transparent;
      border-radius: 3px;
    }
    .ant-select-focused .ant-select-selection, 
    .ant-select-open .ant-select-selection,
    .ant-select-selection:focus,
    .ant-select-selection:active {
      // border-color: #40a9ff;
      // border-color: var(--theme-brand4, #40a9ff);
      border: none;
      box-shadow: none;
    }
    .ant-select-selection:hover {
      // border-color: #40a9ff;
      // border-color: var(--theme-brand4, #40a9ff);
      border: none;
      box-shadow: none;
    }
  }
}

//检索处理人
#name-focus {
  background-color: #ff0;
}

//弹窗
.ant-modal-confirm-body-wrapper {
  // padding: 20px;

  .ant-modal-confirm-body > .anticon + .ant-modal-confirm-title + .ant-modal-confirm-content {
    margin: 0;
  }

  .ant-modal-confirm-body .ant-modal-confirm-content {
    word-break: break-all;
  }

  .ant-modal-confirm-title {
    margin-bottom: 10px;
    font-weight: bold;
    color: #000;
  }

  .ant-modal-confirm-btns .ant-btn-danger {
    background-color: #0a73f8;
    border: none;
  }
}

.__hidebar {
  scrollbar-width: none;
}
